﻿using System;
using System.Composition;

namespace GaleSong
{
    public interface IPadMetaData
    {
        string PadName { get; }
    }

    [MetadataAttribute]
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
    public class PadAttribute : ExportAttribute, IPadMetaData
    {
        public PadAttribute() : base(typeof(IPad))
        {
        }

        public PadAttribute(Type contractType) : base(contractType)
        {
        }

        #region IToolBarPartMetaData Members

        public string PadName { get; set; }

        #endregion
    }
}